package edu.zju.gis.dldsj.dao;

import edu.zju.gis.dldsj.base.BaseMapper;
import edu.zju.gis.dldsj.entity.RoleFunction;

import java.util.List;

public interface RoleFunctionMapper extends BaseMapper<RoleFunction, String> {
    int deleteByPrimaryKey(String id);

    int insert(RoleFunction record);

    int insertSelective(RoleFunction record);

    RoleFunction selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(RoleFunction record);

    int updateByPrimaryKey(RoleFunction record);

    int deleteByRoleId(String roleId);

    int delete(String roleId, String functionId);

    RoleFunction select(String roleId, String functionId);

    List<RoleFunction> selectByRoleId(String roleId);
}